
import os
import shutil as s

path=os.path.dirname(__file__)+'/'

print(path)  # /home/hashaki/下载/vnpy_crypto/examples/

file=path+'balabala.txt'

os.unlink(file)    #  删除文件os.untree()为删除目录